package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.SalesOrderMapper;
import com.spark.incoicings.service.SalesOrderService;
import com.spark.invoicings.entity.SalesOrder;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SalesOrderServiceImpl extends ServiceImpl<SalesOrderMapper, SalesOrder> implements SalesOrderService {
    @Resource
    private SalesOrderMapper om;

    @Override
    public List<SalesOrder> selectId(Integer customerId) {
        return om.selectId(customerId);
    }
}
